home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / July 96 / Re Force Cursor Adjustment.2 < prev    next >
Encoding:
Internet Message Format  |  1996-07-01  |  1.1 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Force Cursor Adjustment
  2. Sent:        6/28/96 9:48 AM
  3. Received:    7/1/96 8:34 AM
  4. From:        Serge Froment, sfroment@odyssee.net
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >>This is a bug we also have in ODFContainer. I am currently trying to fix
  9. >>it by calling
  10. >>
  11. >>session->GetDispatcher(ev)->InvalidateFacetUnerMouse(ev)
  12. >>
  13. >>I'll keep you posted.
  14. >
  15. >This is working fine. I haved added a FW_ForceAdjustCursor in ODF 2. In
  16. >the mean time you can use the above line of code.
  17.  
  18. Can you send me source code of FW_ForceAdjustCursor? I will add it to my
  19. ODFMissing module until ODF 2 and I want my function be identical so I have
  20. no source code to update.
  21.  
  22. BTW, my ODFMissing module currently contains two functions. I think I have
  23. already told you about, but just in case, here they are:
  24.  
  25. FW_Fixed FW_TruncatedToInt(FW_Fixed f)
  26. {
  27.         return FW_ODFixedToFixed(f.fRep & 0xFFFF0000ul);
  28. }
  29.  
  30.  
  31. FW_Fixed operator%(FW_Fixed f1, FW_Fixed f2)
  32. {
  33.         return f1 - FW_TruncatedToInt(f1 / f2) * f2;
  34. }
  35.  
  36. Serge
  37.  
  38.